projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bf8eca
)
Pacify compiler warning in handle_one_xevent
author
Po Lu
<luangruo@yahoo.com>
Wed, 16 Mar 2022 11:43:06 +0000
(19:43 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Wed, 16 Mar 2022 11:43:06 +0000
(19:43 +0800)
* src/xterm.c (x_dnd_get_target_window): Set proto_out even if
it won't be used because target is None. Reported by Lars
Ingebrigtsen <larsi@gnus.org>.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 7d1a5f4043ffef1af184a87fcb20f86a30463b00..46a22d8dc1bba60bda4a8211d73dd243c2f8a164 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-866,6
+866,7
@@
x_dnd_get_target_window (struct x_display_info *dpyinfo,
if (x_had_errors_p (dpyinfo->display) || !rc)
{
x_uncatch_errors_after_check ();
+ *proto_out = -1;
return None;
}
}